import breeding from "@/api/axios";
export default {
  // 个体配种记录
  postPageIndividualMatingRecordQuery(params) {
    return breeding.sheepOut.post('/breeding/breeding/v1/queryPageByCondition', params)
    // return breeding.,sheepOut.post('/breeding/breeding/v2/raiseRecord/queryPageByCondition', params)
  },

  // 个体信息 /bion/v1/bion/queryBionById/{bionId}
  getQueryBionById(params) {
    return breeding.sheepOut.get(`/bion/v1/bion/queryBionById/${params}`)
  },
  /**
   * @description: 查询所有个体信息
   * @return {Object}
   */
  queryBionAll(params) {
    return breeding.sheepOut.get(`/bion/v1/bion/queryBionAll/${params.breed}`);
  }
}
